package com.ruoyi.business.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 
 * </p>
 *
 * @author Ao
 * @since 2024-01-08
 */
@Data
@EqualsAndHashCode(callSuper = false)
public class CouponInfo implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 优惠券编号
     */
    @TableId(value = "coupon_id", type = IdType.AUTO)
    private Long couponId;

    /**
     * 优惠券数量
     */
    private Long couponnNum;

    /**
     * 优惠券金额
     */
    private Long subsidy;

    /**
     * 优惠券标题
     */
    private String title;

    /**
     * 优惠券介绍
     */
    private String introduce;

    /**
     * 优惠券库存
     */
    private Long stock;

    /**
     * 优惠券发出时间
     */
    private LocalDateTime sendTime;

    /**
     * 优惠券过期时间
     */
    private LocalDateTime expireTime;

    /**
     * 优惠券是否过期(0未过期，1过期)
     */
    private Integer isExpired;


}
